package com.zjitc.controller;

import com.zjitc.common.ServerResponse;
import com.zjitc.service.UserService;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import redis.clients.jedis.JedisPool;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/12 15:12
 * @description:
 */
@Controller
@RequestMapping("/manage")
public class ManageController {


  @Autowired
  private UserService userService;
  private ServerResponse response;
  private JedisPool jedisPool;

  @RequestMapping("/findAllUser")
  @ResponseBody
  public ServerResponse findAllUser(HttpSession session){
    //UserDao userDao ;
    //Redis redis = new Redis(userDao);
    return response;
  }
}
